﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="user_favimg.aspx.cs" Inherits="user_favimg" Title="Album hình yêu thích" %>

<%@ Register Src="~/UserControls/left_user.ascx" TagName="MenuLeft" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/Advertising.ascx" TagName="Adv" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentCss" runat="Server">
    <link href="css/reg.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentFooter" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMenu" runat="Server">
    <uc:MenuLeft ID="MenuLeft1" runat="server" GroupId="1" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentMain" runat="Server">
    <div class="reg-wrap">
        <h3>
            <img src="images/album-hinh-yeu-thich-hp.gif" alt="thoi trang" width="400" height="40" /></h3>
        <!--Reg-->
        <div class="reg line">
            <table id="fav_table" width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr class="cap">
                    <td width="100%">
                        Album của bạn
                    </td>
                </tr>
                <%
                    if (albums != null)
                    {
                        for (int i = 0; i < albums.Count; i++)
                        {
                     %>
                <tr class="row_<%=(i%2==0)?"a":"b" %>">
                    <td class="title">
                        <a href="user_favimg_det.aspx?alid=<%=albums[i].ID %>&ckid=<%=SessionManager.GetCookie() %>"><%=albums[i].Name %></a> <span>(<%=CountImg(albums[i].ID) %>)</span>
                    </td>
                </tr>
                <%
                    }
                    } %>
                <%--<tr class="row_b">
                    <td class="title">
                        <a href="#">Tiamo</a> <span>(1)</span>
                    </td>
                </tr>--%>
            </table>
        </div>
        <!--//Reg-->
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentLeft" runat="Server">
    <uc:Adv ID="Adv1" runat="server" />
</asp:Content>
